<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>

        .box{
            width: 900px;
            height: 300px;
            background: yellow;
            margin: 0 auto;
        }

        .box div{
            width: 300px;
            height: 300px;
            background: white;
            float: left;
            box-sizing: border-box;
            padding: 10px;
            border: 1px solid rebeccapurple;
            border-radius: 10px;
           
        }
        

    </style>

</head>
<body>

    <div class="box">

        <div> Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptates error, enim corporis porro eum eius reprehenderit nulla ducimus sapiente totam reiciendis, dolor illo recusandae architecto rem quibusdam fugit! Atque, temporibus.</div>
        <div>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sit facere, iste labore fugiat, pariatur magni eius officiis cum eveniet recusandae neque autem repellendus odit porro qui consequuntur repellat quisquam placeat.</div>
        <div>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsum deserunt assumenda sequi maiores accusantium doloremque eveniet, maxime vitae, necessitatibus incidunt sit ut magni harum nemo ducimus optio quia iure. Delectus.</div>

    </div>
    
</body>
</html>